#pragma once

#include <QMainWindow>
#include "ui_UMainUi.h"
#include "CBeltDataBase.h"
#include "UBeltConfig.h"
#include "CTearResult.h"
#include <qfile.h>
#include <qtextstream.h>
class UMainUi : public QMainWindow
{
	Q_OBJECT

public:
	UMainUi(QWidget *parent = nullptr);
	~UMainUi();
	void initUI(CBeltDataBase *pData);
private:
	Ui::UMainUiClass ui;
	CBeltDataBase* m_pData;
	UBeltConfig *m_pConfig;
	CTearResult * m_pResult;
public slots:
	void slotConfig();
	void slotResult();    
};

